<template>
    <div id="outer">
        <div id="logo">
            网易严选
        </div>
        <div id="center">
            <router-link to="search-view">搜索商品，有好多好物~</router-link>
        </div>
        <div id="btn">
            登录
        </div>
    </div>
</template>

<script>
    export default {
        name: "HeaderComzxw"
    }
</script>

<style scoped>
    #outer{
        width: 100%;
        height: 50px;
        display: flex;
    }
    #logo{
        width: 80px;
        font-size: 18px;
        font-weight: bold;
        line-height: 50px;
        text-align: center;
    }
    #center{
        flex: 1;
        height: 30px;
        background: lightgrey;
        border-radius: 5px;
        margin-top: 10px;
        text-align: center;
        line-height: 30px;
        color: #7f7f7f;
    }
    #btn{
        width: 30px;
        height: 20px;
        font-size: 12px;
        line-height: 20px;
        text-align: center;
        margin: 15px 10px 0 10px;
        color: red;
        border: 1px solid red;
        border-radius: 5px;
    }
</style>